package com.fowo.api.model.requisition;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.NumberFormat;
import javax.validation.constraints.*;
import lombok.Data;

/** 调拨单子表 导入导出辅助模型 */
@Data
public class RequisitionProductExcelPo {

  @ExcelProperty(value = "所属调拨单")
  private java.math.BigDecimal parentRequisitionFreightFee;

  @ExcelIgnore
  @ExcelProperty(value = "所属调拨单")
  private Long parentRequisition;

  @ExcelProperty(value = "品名")
  private String productIdName;

  @ExcelIgnore
  @ExcelProperty(value = "品名")
  private Long productId;

  @Size(max = 50, message = "SKU长度不能超过20")
  @ExcelProperty(value = "SKU")
  private String sku;

  @Size(max = 50, message = "FNSKU长度不能超过20")
  @ExcelProperty(value = "FNSKU")
  private String fnsku;

  @Size(max = 50, message = "店铺长度不能超过20")
  @ExcelProperty(value = "店铺")
  private String shopNameShopName;

  @ExcelIgnore
  @ExcelProperty(value = "店铺")
  private Long shopName;

  @ExcelProperty(value = "可用量")
  private Long availbleNum;

  @ExcelProperty(value = "次品量")
  private Long defectiveQuantity;

  @ExcelProperty(value = "可用调拨量")
  private Long availbleRqtNum;

  @ExcelProperty(value = "次品调拨量")
  private Long defectiveRqtQuantity;

  @ExcelProperty(value = "入库可用仓位")
  private String toGoodWarehouseBinWarehouseId;

  @ExcelIgnore
  @ExcelProperty(value = "入库可用仓位")
  private Long toGoodWarehouseBin;

  @Size(max = 50, message = "入库次品仓位长度不能超过20")
  @ExcelProperty(value = "入库次品仓位")
  private String toBadWarehouseBinWarehouseId;

  @ExcelIgnore
  @ExcelProperty(value = "入库次品仓位")
  private Long toBadWarehouseBin;

  @NumberFormat("0.00")
  @ExcelProperty(value = "单品重量(g)")
  private java.math.BigDecimal productGross;

  @NumberFormat("0.00")
  @ExcelProperty(value = "包装规格(cm)-长")
  private java.math.BigDecimal packageLength;

  @NumberFormat("0.00")
  @ExcelProperty(value = "包装规格(cm)-宽")
  private java.math.BigDecimal packageWidth;

  @NumberFormat("0.00")
  @ExcelProperty(value = "包装规格(cm)-高")
  private java.math.BigDecimal packageHeight;

  @ExcelProperty(value = "备注")
  private String remark;
}
